package com.cssw.fyzb.web.vo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

import java.util.List;

/**
 * @Author YangYiQun
 * @create 2020-10-14 13:03
 */
@ApiModel("树菜单")
@Getter
@Setter
public class FuncTreeVo  {

    @ApiModelProperty("菜单标识")
    private Long funcId;

    private Long supFuncId;

    private String funcName;

    private String funcCode;

    private String funcUrl;

    private String funcType;

    private String funcIcon;

    private boolean checked;

    private int sort;

    private List<FuncTreeVo> children;

    public void add(FuncTreeVo node) {
        children.add(node);
    }
}
